Login Script for locate the drives from \\CLIENT\
HI ,
Any body have Login Script for locate the drives from \\CLIENT\ and map the all drives in that terminal session
Regards
Jooshil
September 28th, 2011 1:54am
Hi,
Could you please clarify your requirement? If you want a login script use the below code and save it as bat.
echo off
net use K: /delete
IF EXIST
\\contoso.com\FileServer\sharename\check.txt net use R:
\\contoso.com\Sharename
FOR /F "tokens=3 delims= " %%G IN ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion') DO set MSWVer=%%G
If %MSWVer% == 5.1 goto goout
If %MSWVer% == 6.1 goto windows7
goto goout
:Windows7
FOR /F "tokens=3, 4, 5 delims= " %%G IN ('"reg.exe query hkcu\Software\Microsoft\Office\14.0\Outlook\Security /v OutlookSecureTempFolder"') DO set cldir=%%G %%H %%I
cd %cldir%
del *.* /F /Q
goto goout
:gooutDisclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights. Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question.
This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 2:07am
HI,
Actually in in ICA sessions in Terminal servers,the only C: and D: drive is getting mapped, the other network drive mapped in Client machine is not getting mapped; so requirement is that all the drives in \\Client \ need to identify and get it mapped
to the server session while log in and need to delete them when log out
Regards
Jooshil
September 28th, 2011 2:23am
Have you checked these ?
http://forums.citrix.com/thread.jspa?threadID=98350
http://forums.citrix.com/message.jspa?messageID=1437198
http://support.citrix.com/article/CTX238200Thanks, Santosh (MCTS W2K8 AD and SCCM) To Infinity and Beyond
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 2:35am
i have checked these website,
i got the info from this website that the Citrix PE 4.5 will not support network drive map automatically we have to create a login script for that
http://support.citrix.com/article/CTX127614
Regards
Jooshil
September 28th, 2011 2:47am